package com.ensibs.nuitinfo2013;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class ForumActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.forum);
	}

	public void onClick(final View view) {
		switch (view.getId()) {
			case R.id.forum_creer:
				startActivity(new Intent(this, CreationActivity.class));
			break;
			case R.id.forum_recherche:	// TODO : Modifier le manifest
				startActivity(new Intent(this, RechercheActivity.class));
			break;
			case R.id.forum_consulter:
				startActivity(new Intent(this, ConsulationListeActivity.class));
			break;
			case R.id.forum_mesQuestions:
				startActivity(new Intent(this, PersonnalTopicActivity.class));
			break;
		}
	}

}
